﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MentorBackEnd.Model;
using MentorBackEnd.DA;


namespace MentorBackEnd.Business
{
    public class UserProfileManager
    {
        public static void CreateNewUserProfile(UserProfile userProfile)
        {
            UserProfileDA.CreateNewUserProfile(userProfile);
            return;
        }

        public static void UpdateUserProfile(UserProfile userProfile)
        {
            UserProfileDA.UpdateUserProfile(userProfile);
            return;
        }

        public static UserProfile UpdateUserProfile(int userID)
        {
            return UserProfileDA.GetUserProfile(userID);
        }
    }
}